package com.suneast.suneaststore.bean.goodsdetail;

import java.util.List;

public class SpecsDataBean {

    /**
     * goods : {"id":3019,"brand":168,"pcate":1194,"title":"布艺窗帘  现代时尚简约风格条纹系列成品","merchid":2846,"thumb":"http://img2.suneastzy.com/oPPghaKaX44cG4pP4103A99c7kc41p.jpg?imageView2/0/w/300/h/300/q/90|imageslim","total":2000,"windowsize":0,"unit":"米","sales":0,"memberprice":"98.00","D2_price":"78.00","D2_discount":"20.00","minprice":"98.00","maxprice":"160.00","total_num":"0.00","total_buy":0,"brandname":"豪庭阁","price_type":1,"type":1}
     * specs : [{"title":"规格/款式t","items":[{"itemid":11677,"title":"定高270CM","level":1}]},{"title":"颜色分类t","items":[{"itemid":11678,"title":"7688-宝蓝布","level":2},{"itemid":11679,"title":"HT7689纱","level":2}]}]
     * options : [{"id":18425,"title":"定高270CM+7688-宝蓝布","thumb":"http://img2.suneastzy.com/Yeai22YC8V8kbYjkDIWCZk2Y22Bayb.jpg","stock":1000,"specs":"11677_11678","D2_price":"128.00","D2_discount":"32.00","lprice":"0.00","suit":0,"total_num":"0.00"},{"id":18426,"title":"定高270CM+HT7689纱","thumb":"http://img2.suneastzy.com/c4xXhG4qqG4XCxCh15441xCHGWg5q1.jpg","stock":1000,"specs":"11677_11679","D2_price":"78.00","D2_discount":"20.00","lprice":"0.00","suit":0,"total_num":"0.00"}]
     * specs_group : [{"id":11677,"item":[{"id":"11677","level":1},{"id":"11678","level":2},{"id":"11679","level":2}]},{"id":11678,"item":[{"id":"11677","level":1},{"id":"11678","level":2}]},{"id":11679,"item":[{"id":"11677","level":1},{"id":"11679","level":2}]}]
     */

    private GoodsBean goods;
    private List<SpecsBean> specs;
    private List<OptionsBean> options;
    private List<SpecsGroupBean> specs_group;

    public GoodsBean getGoods() {
        return goods;
    }

    public void setGoods(GoodsBean goods) {
        this.goods = goods;
    }

    public List<SpecsBean> getSpecs() {
        return specs;
    }

    public void setSpecs(List<SpecsBean> specs) {
        this.specs = specs;
    }

    public List<OptionsBean> getOptions() {
        return options;
    }

    public void setOptions(List<OptionsBean> options) {
        this.options = options;
    }

    public List<SpecsGroupBean> getSpecs_group() {
        return specs_group;
    }

    public void setSpecs_group(List<SpecsGroupBean> specs_group) {
        this.specs_group = specs_group;
    }

    public static class GoodsBean {
        /**
         * id : 3019
         * brand : 168
         * pcate : 1194
         * title : 布艺窗帘  现代时尚简约风格条纹系列成品
         * merchid : 2846
         * thumb : http://img2.suneastzy.com/oPPghaKaX44cG4pP4103A99c7kc41p.jpg?imageView2/0/w/300/h/300/q/90|imageslim
         * total : 2000
         * windowsize : 0
         * unit : 米
         * sales : 0
         * memberprice : 98.00
         * D2_price : 78.00
         * D2_discount : 20.00
         * minprice : 98.00
         * maxprice : 160.00
         * total_num : 0.00
         * total_buy : 0
         * brandname : 豪庭阁
         * price_type : 1
         * type : 1
         */

        private int id;
        private int brand;
        private int pcate;
        private String title;
        private int merchid;
        private String thumb;
        private double total;
        private int windowsize;
        private String unit;
        private int sales;
        private String memberprice;
        private String D2_price;
        private String D2_discount;
        private String minprice;
        private String maxprice;
        private String total_num;
        private int total_buy;
        private String brandname;
        private int price_type;
        private int type;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getBrand() {
            return brand;
        }

        public void setBrand(int brand) {
            this.brand = brand;
        }

        public int getPcate() {
            return pcate;
        }

        public void setPcate(int pcate) {
            this.pcate = pcate;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getMerchid() {
            return merchid;
        }

        public void setMerchid(int merchid) {
            this.merchid = merchid;
        }

        public String getThumb() {
            return thumb;
        }

        public void setThumb(String thumb) {
            this.thumb = thumb;
        }

        public double getTotal() {
            return total;
        }

        public void setTotal(double total) {
            this.total = total;
        }

        public int getWindowsize() {
            return windowsize;
        }

        public void setWindowsize(int windowsize) {
            this.windowsize = windowsize;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public int getSales() {
            return sales;
        }

        public void setSales(int sales) {
            this.sales = sales;
        }

        public String getMemberprice() {
            return memberprice;
        }

        public void setMemberprice(String memberprice) {
            this.memberprice = memberprice;
        }

        public String getD2_price() {
            return D2_price;
        }

        public void setD2_price(String D2_price) {
            this.D2_price = D2_price;
        }

        public String getD2_discount() {
            return D2_discount;
        }

        public void setD2_discount(String D2_discount) {
            this.D2_discount = D2_discount;
        }

        public String getMinprice() {
            return minprice;
        }

        public void setMinprice(String minprice) {
            this.minprice = minprice;
        }

        public String getMaxprice() {
            return maxprice;
        }

        public void setMaxprice(String maxprice) {
            this.maxprice = maxprice;
        }

        public String getTotal_num() {
            return total_num;
        }

        public void setTotal_num(String total_num) {
            this.total_num = total_num;
        }

        public int getTotal_buy() {
            return total_buy;
        }

        public void setTotal_buy(int total_buy) {
            this.total_buy = total_buy;
        }

        public String getBrandname() {
            return brandname;
        }

        public void setBrandname(String brandname) {
            this.brandname = brandname;
        }

        public int getPrice_type() {
            return price_type;
        }

        public void setPrice_type(int price_type) {
            this.price_type = price_type;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }
    }

    public static class SpecsBean {
        /**
         * title : 规格/款式t
         * items : [{"itemid":11677,"title":"定高270CM","level":1}]
         */

        private String title;
        private List<ItemsBean> items;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public List<ItemsBean> getItems() {
            return items;
        }

        public void setItems(List<ItemsBean> items) {
            this.items = items;
        }

        public static class ItemsBean {
            /**
             * itemid : 11677
             * title : 定高270CM
             * level : 1
             */

            private int itemid;
            private String title;
            private int level;

            public int getItemid() {
                return itemid;
            }

            public void setItemid(int itemid) {
                this.itemid = itemid;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public int getLevel() {
                return level;
            }

            public void setLevel(int level) {
                this.level = level;
            }
        }
    }

    public static class OptionsBean {
        /**
         * id : 18425
         * title : 定高270CM+7688-宝蓝布
         * thumb : http://img2.suneastzy.com/Yeai22YC8V8kbYjkDIWCZk2Y22Bayb.jpg
         * stock : 1000
         * specs : 11677_11678
         * D2_price : 128.00
         * D2_discount : 32.00
         * lprice : 0.00
         * suit : 0
         * total_num : 0.00
         */

        private int id;
        private String title;
        private String thumb;
        private double stock;
        private String specs;
        private String D2_price;
        private String D2_discount;
        private String lprice;
        private int suit;
        private String total_num;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getThumb() {
            return thumb;
        }

        public void setThumb(String thumb) {
            this.thumb = thumb;
        }

        public double getStock() {
            return stock;
        }

        public void setStock(double stock) {
            this.stock = stock;
        }

        public String getSpecs() {
            return specs;
        }

        public void setSpecs(String specs) {
            this.specs = specs;
        }

        public String getD2_price() {
            return D2_price;
        }

        public void setD2_price(String D2_price) {
            this.D2_price = D2_price;
        }

        public String getD2_discount() {
            return D2_discount;
        }

        public void setD2_discount(String D2_discount) {
            this.D2_discount = D2_discount;
        }

        public String getLprice() {
            return lprice;
        }

        public void setLprice(String lprice) {
            this.lprice = lprice;
        }

        public int getSuit() {
            return suit;
        }

        public void setSuit(int suit) {
            this.suit = suit;
        }

        public String getTotal_num() {
            return total_num;
        }

        public void setTotal_num(String total_num) {
            this.total_num = total_num;
        }
    }

    public static class SpecsGroupBean {
        /**
         * id : 11677
         * item : [{"id":"11677","level":1},{"id":"11678","level":2},{"id":"11679","level":2}]
         */

        private int id;
        private List<ItemBean> item;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public List<ItemBean> getItem() {
            return item;
        }

        public void setItem(List<ItemBean> item) {
            this.item = item;
        }

        public static class ItemBean {
            /**
             * id : 11677
             * level : 1
             */

            private String id;
            private int level;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public int getLevel() {
                return level;
            }

            public void setLevel(int level) {
                this.level = level;
            }
        }
    }
}
